home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / doorware / lisa18.zip / CUSTOM.TXT < prev    next >
Text File  |  1996-03-15  |  9KB  |  161 lines

  1.                   ┌─────────────────────────────────┐
  2.                   │   C H A T   W I T H   L I S A   │
  3.                   │   ~~~~~~~~~~~~~~~~~~~~~~~~~~~   │
  4.                   │    Custom Response Database!    │
  5.                   └─────────────────────────────────┘
  6.  
  7. Would you like Lisa to answer questions about your BBS, or talk about 
  8. your special interests, or perhaps change her physical description? Now
  9. you can! Registered Sysops can edit their own CUSTOM.DAT file to modify 
  10. Lisa's reponses based on YOUR needs. It's simple and almost fun.
  11.  
  12. IF YOU PLAN TO DO THIS, PLEASE READ THIS ENTIRE DOCUMENT. IT HAS 
  13. IMPORTANT INFORMATION ON HOW LISA WORKS, AND HOW TO EDIT THE SAMPLE
  14. DATA FILE. IF YOU DON'T FOLLOW THESE INSTRUCTIONS, IT'S NOT GOING 
  15. TO WORK, AND I'M NOT GOING TO WRITE IT FOR YOU!
  16.  
  17. HOW DOES LISA WORK?
  18. ===================
  19. After the caller types something and presses [ENTER], Lisa scans their 
  20. sentence for "keywords" that are defined in her data file. Each keyword 
  21. has one or more responses associated with it. The responses for each set
  22. of keywords are used sequentially until the last one, then Lisa starts 
  23. to repeat herself. If no keyword is found, Lisa uses one of her generic 
  24. responses. All responses go through a typing routine that conjugates the
  25. text, varies her speed, and makes occasional "typos". 
  26.  
  27. WHAT IS THE CUSTOM.DAT FILE?
  28. ============================
  29. The CUSTOM.DAT file is a database containing "keywords" and "responses" 
  30. that can be edited with any ASCII text editor (the regular LISA.DAT file 
  31. is encoded and should never be edited). After you modify the data file  
  32. to suit your needs, it runs "on top" of Lisa's regular data file. The 
  33. CUSTOM.DAT file always takes precedence over the LISA.DAT file. 
  34.  
  35. If Lisa does not find a keyword in your CUSTOM.DAT file, she looks in her
  36. regular LISA.DAT file. This way, you can create custom responses for your
  37. special keywords, but don't need to develop an entire database to include
  38. over 1000 words that Lisa already knows. THE CUSTOM.DAT FILE IS LIMITED
  39. TO 100 KEYWORDS AND 100 REPLIES (each reply is limited to 128 characters).
  40.  
  41. IMPORTANT NOTE!
  42. ===============
  43. To use custom replies, you must rename the CUSTOM.SAM file to CUSTOM.DAT. 
  44. Lisa will automatically load the CUSTOM.DAT file (when it exists) but she 
  45. ignores the CUSTOM.SAM file because it is only a sample. After you edit the 
  46. file, run the CUSTOM.EXE program to check your CUSTOM.DAT file for errors. 
  47. Make corrections, then run CUSTOM.EXE again (until no mistakes are found). 
  48.  
  49. HOW DO I MODIFY THE CUSTOM.DAT FILE?
  50. ====================================
  51. We recommend using the DOS EDIT program. After you load the sample file
  52. into your editor, take special notice of how the text is formatted. The 
  53. format is shown below and must be followed exactly!
  54.  
  55. KEYWORD1    <--- Keywords must be CAPITAL letters or numbers, and can NOT
  56. KEYWORD2    <--- have any punctuation. Use a CR/LF at the end of each word.
  57. KEYWORD3    <--- This set of keywords will all use the same responses.
  58.  Response1  <--- The first response for the above keywords. REPLIES MUST
  59.  Response2  <--- BE INDENTED ONE SPACE TO DISTINGUISH THEM FROM KEYWORDS.
  60.  Response3  <--- Use punctuation and normal capitalization for responses.
  61. KEYWORD     <--- The start of a new set of keywords... 
  62. KEYWORD     <--- Use 1 or more keywords in each set, up to 100 total.
  63.  Response   <--- Another set of replies. Responses are used sequentially 
  64.  Response   <--- until the end of each set, then Lisa recycles them.
  65.  Response   <--- Use at least 3 reponses so Lisa won't repeat too soon. 
  66. EOF         <--- Enter EOF at the end of the file. Use just once!
  67.  
  68. Just keep repeating the format above until you are done. Make sure that 
  69. EOF appears on the last line, and press [ENTER] at the end of each line. 
  70. Now read about the special characters below.
  71.  
  72. SPECIAL CHARACTERS:
  73. ===================
  74. @   <--- Wherever the @ appears in a response, it will be replaced by the 
  75.          caller's first name (Lisa gets their name from the drop file).
  76. &   <--- Wherever the & appears in a response, it will be replaced by the
  77.          name you have selected for Lisa in the LISA.CFG file.
  78. *   <--- Use this at the end of a KEYWORD to search for word variations.
  79.  
  80. EXAMPLES USING THE SPECIAL CHARACTERS:
  81. ======================================
  82. LAST NAME            <--- First keyword. Keywords can be multiple words.
  83. REAL NAME            <--- Second keyword. Use all CAPS and no punctuation! 
  84. YOUR NAME            <--- Third keyword. Just using "NAME" is too generic.
  85.  You know my name, I'm & and you're @.       <--- First response uses special
  86.  My real name is a secret.                        characters for both names.
  87.  Only a bimbo would give out her last name.  <--- Third response. Use regular
  88.  Ok, my last name is... uh, Schwarzenegger.  <--- punctuation for responses.
  89. MARRY                <--- First keyword for this set.
  90. MARRI*               <--- The * character will find "married" or "marriage".
  91. DIVORC*              <--- The * will find "divorce, divorced, divorcing".
  92. YOU SINGLE           <--- Using "SINGLE" would be too generic.
  93.  I've never been married myself. Are you proposing?      <--- First response
  94.  Marriage isn't a word, it's a sentence :)                    for this set.
  95.  Well, if the right guy came along, I would marry him.   <--- Last response.
  96. EOF                  <--- End-Of-File. Use just once, with CAPS as shown.
  97.  
  98. THE REPLIES MUST BE INDENTED ONE SPACE TO DISTINGUISH THEM FROM KEYWORDS. 
  99. EACH KEYWORD/RESPONSE MUST USE ONE LINE ONLY, UP TO 128 CHARACTERS LONG. 
  100. Be careful when using the "*" wildcard character. For example, using the 
  101. keyword SEX* will find "sex, sexy, sexual, sexuality" but it will also find 
  102. "sextant" and "sextuplets". Use a dictionary to check word combinations.
  103.  
  104. READ THIS OR BE SORRY!
  105. ======================
  106. The order of the keywords is very important. If "YOU" was placed in the 
  107. first set of keywords, Lisa would constantly respond to "YOU" and never 
  108. look for any other words. Likewise, if you put "I" before "I LIKE" or 
  109. "I HATE", Lisa will never respond to "I LIKE" because she will read "I" 
  110. before "I LIKE". That's why the LISA.DAT file has profanities in the first
  111. set of keywords, so that she can respond to them before any other words.
  112.  
  113. Your keywords should be targeted for specific topics, and not be generic. 
  114. List the specific keywords first, then the more general ones. Remember
  115. that Lisa already responds to "who, what, when, where, why & how" type
  116. questions, plus other generic words. So make your keywords specific to 
  117. your topic, and then list the keyword sets in order of importance. 
  118.  
  119. When modifying the responses, you should analyze the replies to make 
  120. sure they work in all possible cases. For example, if the caller types 
  121. "Are you pretty?" and Lisa has a keyword of "PRETTY" with a reponse of
  122. "Most people think I'm pretty" then the response sounds OK. But if the 
  123. caller says "I'm pretty tired tonight" and Lisa says "Most people think 
  124. I'm pretty" then it does not make as much sense.
  125.  
  126. THE FAST & EASY APPROACH:
  127. =========================
  128. Simply edit the replies in the sample CUSTOM.DAT file and replace the 
  129. information about MY BBS with information about YOUR BBS. Then edit the 
  130. personal information about Lisa, which is included in the sample file. 
  131. If you feel creative, add special keywords/replies (100 each maximum) 
  132. to the end of the list, or delete some keywords, or start from scratch. 
  133.  
  134. NEED MORE KEYWORDS?
  135. ===================
  136. Every keyword in the sample CUSTOM.DAT file is also used in the LISA.DAT 
  137. file. If you run out of keywords for your special topic, ask yourself if 
  138. you really need to change Lisa's age, hair color, weight, etc. You could 
  139. delete those keywords/replies and let Lisa use her default replies.
  140.  
  141. Also, don't accidently "short circuit" the LISA.DAT file by using a key-
  142. word that is too generic. If you put "THE" in your custom keyword list,
  143. Lisa will respond to that before checking her own list of 1000+ keywords.
  144.  
  145. ONE MORE SECRET:
  146. ================
  147. If the last four characters of a response is "Bye." (without the quotes) 
  148. Lisa will force the caller to exit the door. Use this when you want Lisa 
  149. to end the conversation after certain keywords are used. For example, the 
  150. following response would end the chat: "@, the Sysop is calling me. Bye." 
  151. Or you could try: "I hate you! Bye."
  152.  
  153. TECHNICAL SUPPORT:
  154. ==================
  155. To keep LAMERS from wasting too much of my time, the CUSTOM.DAT file works
  156. with registered versions only. Before you decide to ask for help, please
  157. FOLLOW THE INSTRUCTIONS AND RUN THE CUSTOM.EXE PROGRAM TO CHECK FOR ERRORS.
  158. If there is some problem that you just can't fix, you can reach me at the 
  159. locations specified in the SYSOP.TXT file (under Technical Support).
  160.  
  161.